package com.wst.wst_server.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wst.wst_server.entity.Org;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wst.wst_server.entity.Orgplus;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * ��֯������ 服务类
 * </p>
 *
 * @author zyk
 * @since 2023-03-24
 */
public interface IOrgService extends IService<Org> {

    boolean add(Org org, Orgplus orgplus);

    Map<String,Object> getId(Integer id);

    IPage<Org> getbycondition(Map<String, Object> map);

    void myupdate(Org org, Orgplus orgplus);

    IPage<Map<String, Object>> getorgandorgplus(Map<String, Object> map);

    Map<String, Object> getorgnameandyearly(Map<String, Object> map);
}
